const router = require('koa-router')();
const index = require('./controllers/view/index'),
	user = require('./controllers/view/user');
	apiUser = require('./controllers/api/user');

router.use(index.routes(), index.allowedMethods());
router.use(user.routes(), user.allowedMethods());
router.use(apiUser.routes(), apiUser.allowedMethods());

module.exports = router;